package java8Test.function;

public class ObjectObj {

    private int num;

    public void eat() {
        System.out.println("eat" + num);
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getNum() {
        return num;
    }

    public boolean isHero(){
        return false;
    }
}
